﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.TechnicRequests>" %>
<%--<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Models.TechnicRequests>" %>--%>

<table>
        <tr>
            <td>
                <%:Html.DevExpress().Label(settings =>
                  {
                      settings.ControlStyle.CssClass = "lable";
                      settings.Text = "Сроки выезда:";
                      settings.Width = 120;
                  }).GetHtml() %>
            </td>
        </tr>
        <tr>
            <td>
            <%:Html.DevExpress().Label(
              settings =>
                  {
                      settings.ControlStyle.CssClass = "lable";
                      settings.Text = "C:";
                      settings.Width = 120;
                  }).GetHtml() %>
            </td>
            <td>
            <%:Html.DevExpress().DateEdit(settings =>
                {
                    settings.Enabled = false;
                    settings.Name = "BeginDate";
                    settings.Properties.DisplayFormatString = "D";
                    settings.Width = 120;
                }).Bind(Model.BeginDate).GetHtml() %>
            </td>
            <td>
            <%:Html.DevExpress().Label(
              settings =>
                  {
                      settings.ControlStyle.CssClass = "lable";
                      settings.Text = "По:";
                      settings.Width = 120;
                  }).GetHtml() %>
            </td>
            <td>
            <%:Html.DevExpress().DateEdit(settings =>
                {
                    settings.Enabled = false;
                    settings.Name = "EndDate";
                    settings.Properties.DisplayFormatString = "D";
                    settings.Width = 120;
                }).Bind(Model.EndDate).GetHtml() %>
            </td>
        </tr>
    </table>